package com.funtester.seven.day1;

public class WhileT {

    public static void main(String[] args) {

        int a = 0;
//        while (a < 10) {
//            a++;
//            System.out.println(a);
//        }

        while (true) {
            a++;
            if (a == 10) {
                break;
            }
            if (a == 2) {
                continue;
            }
            System.out.println(a);

        }


//        遍历数组(正向)


        //作业:反向遍历数组,从末尾开始遍历 54321

    }

}
